<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<header id="commHeader" class="gird-header">
    <div class="header-fixed">
        <div class="header-inner">
            <a href="javascript:void(0)" class="header-logo" >Mr.wu</a>
            <nav class="nav" id="nav">
                <ul>
                    <li><a th:href="@{/index}">首页</a></li>
                    <li><a th:href="@{/article}">博客</a></li>
                    <li><a th:href="@{/message}">留言</a></li>
                    <li><a th:href="@{/diary}">日记</a></li>
                    <li><a th:href="@{/link}">友链</a></li>
                    <li><a th:href="@{/toMe}">关于</a></li>
                    <li><a th:href="@{/user/toPersonalInformation}" th:if="${session.loginUserId}!=null">用户设置</a></li>
                    <li><a th:href="@{/root/index}" th:if="${session.identity}==1">管理员后台</a></li>
                </ul>
            </nav>
                <ul class="blog-user"  style="text-align: right;" th:if="${session.loginUserId}!=null">
                    <li>
                        <a><img th:src="@{|/image/userImage/${session.image}|}" style="width: 40px;height: 40px;margin-right: 10px; border-radius: 50%"></a>
                        <a id="me">[[${session.nickName}]]   </a>
                        <a style="font-size: 5px;color: turquoise" th:href="@{/user/logOut}">注销</a>
                    </li>
                </ul>
                <ul class="blog-user" style="text-align: right;" th:if="${session.loginUserId}==null">
                    <li>
                        <a style="font-size: 15px">你好,欢迎  <a th:href="@{/toLogin}" style="font-size: 20px;color: teal">登录!</a></a>
                    </li>
                </ul>
            <a class="phone-menu">
                <i></i>
                <i></i>
                <i></i>
            </a>
        </div>
    </div>
</header>
<footer id="commFooter" class="grid-footer">
    <div class="footer-fixed">
        <div class="copyright">
            <div class="info">
                <div class="contact">
                    <a href="https://github.com/wulejay" class="github" target="_blank"><i class="fa fa-github"></i></a>
                    <a href="https://wpa.qq.com/msgrd?v=3&uin=2038195485&site=qq&menu=yes" class="qq" target="_blank"
                       title="2038195485"><i class="fa fa-qq"></i></a>
                    <a href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=2038195485@qq.com" class="email"
                       target="_blank" title="2038195485@qq.com"><i class="fa fa-envelope"></i></a>
                </div>
                 <p class="mt05">
                    Copyright &copy; 2023-2023 吸猫的纯种牧师 All Rights Reserved V.1.0.0 备案号:<a style="color:white" href="https://beian.miit.gov.cn//" target="_blank">赣ICP备2023000200号</a>
                 </p>
            </div>
        </div>
    </div>
</footer>

</body>
</html>